package com.fy.shop.mapper;


import com.fy.shop.dto.RecordDto;
import com.fy.shop.entity.*;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

@Mapper
public interface DistributorMapper {

    //查询商品浏览记录
    List<RecordEntity> recordFindAll(RecordEntity recordEntity);

    //查询分销商利润
    List<ProfitEntity> profitFindAll(ProfitEntity profitEntity);

    //修改个人分销商门店状态
    int editPersonal(PersonalInformationEntity personalInformationEntity);

    //修改企业分销商门店状态
    int editEnterprise(EnterpriseInformationEntity enterpriseInformationEntity);

    //修改景区门店状态
    int updateEnter(SettledInputEntity settledInputEntity);

    //向门店中添加产品
    List<UpPlatformEntity> addProduct(IsShowProductEntity isShowProductEntity);

    //从门店中移除产品
    List<UpPlatformEntity> removeProduct(IsShowProductEntity isShowProductEntity);

    //分销商店铺上架产品
    int isShowProduct(IsShowProductEntity isShowProductEntity);

}
